package com.jule.teenpatti.game.api.entity;

import com.jule.teenpatti.game.dao.bean.CommonConfigModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author panghu
 * @since 2018-11-01
 */
@Getter
@Setter
@ToString
public class CommonConfigEntity {

    private static final long serialVersionUID = 1L;

    public CommonConfigEntity(CommonConfigModel configModel) {
        this.id = configModel.getId();
        this.betCd = configModel.getBetCountDownSec();
        this.gameStartCd = configModel.getGameStartCountDownSec();
    }

    /**
     * 配置表序号
     */
    private Integer id;
    /**
     * 下注倒计时
     */
    private Integer betCd;
    /**
     * 游戏开始倒计时（发牌前倒计时）
     */
    private Integer gameStartCd;
}
